//
// Created by 32827 on 2024/2/1.
//

#ifndef YZGD32_YZL_UI_VIEW_PP_DEMO_H
#define YZGD32_YZL_UI_VIEW_PP_DEMO_H

#include "view/yzl_ui_view_pp_base.hpp"
#include "widget/yzl_ui_widget_pp_button.hpp"
#include "widget/yzl_ui_widget_pp_text.hpp"

class ViewDemo : public ViewBase {
public:
    WidgetButton *mButton1,*mButton2;
    WidgetText *mText1;
    char *logoPath;
    char *personPath;

    ViewDemo(YZL_VIEW *viewRam, char *logoPath,char *personPath);

    ~ViewDemo();

    YZF_BOOL initP(void *initStructPointer, void *actStructPointer) override;

    void wakeupP(void *actStructPointer) override;

    char *getViewName() override;

    int getViewId() override;
};

#endif //YZGD32_YZL_UI_VIEW_PP_DEMO_H
